package com.qf.springboot.ssm.service.impl;

import com.qf.springboot.ssm.mapper.UserInfoMapper;
import com.qf.springboot.ssm.pojo.SysUserInfo;
import com.qf.springboot.ssm.service.SysUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Created by 马英超 on 2022/9/20 11:31
 * @author： 马英超
 * @version：v1.0
 * @description: .__
 * ___________________|__| ____    ____
 * /  ___/\____ \_  __ \  |/    \  / ___\
 * \___ \ |  |_> >  | \/  |   |  \/ /_/  >
 * /____  >|   __/|__|  |__|___|  /\___  /
 * \/ |__|                 \//_____/
 */
@Service
public class SysUserServiceImpl implements SysUserService {

    private UserInfoMapper userInfoMapper;


    public void setUserInfoMapper(UserInfoMapper userInfoMapper) {
        this.userInfoMapper = userInfoMapper;
    }

    @Override
    public List<SysUserInfo> findByAll() {
        final List<SysUserInfo> byAll = userInfoMapper.findByAll();
        return byAll;
    }


}
